import Vue from 'vue'
import App from './App'
import filter from './filter'
import store from './store'


// 注册接口服务
import api from './api/index.js';

import commonMixin from "./mixins/common-mixin";
import dictMixin from "./mixins/dict-mixin"


global.api = api;

Vue.prototype.$api = global.api;
Vue.prototype.$store = store

Vue.config.productionTip = false
Vue.use(filter);
Vue.use(commonMixin);
Vue.use(dictMixin);

App.mpType = 'app'
const app = new Vue({
	filter,
	store,
    ...App
})
app.$mount()
